#include <stdio.h>
#include <unistd.h>

int main()
{	
	printf("begin...\n");
	pid_t pid = vfork();
	if(pid == 0)
	{
		printf("child begin...\n");
		execl("./open",NULL);
		printf("child end...\n");
	}
	waitpid(pid,0,0);
	printf("end...\n");
	return 0;
}
